﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="Detail.ascx.vb" Inherits="Control_WhatCookToDay_Detail" %>
<%@ Register Src="../Comment/Comment.ascx" TagName="Comment" TagPrefix="uc1" %>
<%@ Import Namespace="Cls_Common" %>
<script type="text/javascript" src='<%=MainDomain & "FrontEnd/js/tabber.js" %>'></script>

<script language="javascript" type="text/javascript">
function ajaxJquerydetail() { 
     $(function () {
         $("#myTab1").tabs({
                activate: function() {
                    var selectedTab = $('#tabs').tabs('option', 'active');
                    
                },
                active:1
            });
        });
        
}


</script>

<asp:UpdatePanel runat="server" ID="pnlDt">
    <ContentTemplate>
        <div class="box_cuisine_details">
           <div class="bgtop_cuisine_details">&nbsp;</div>
           <div class="bgmid_cuisine_details">
                
                   
                    <div class="text_titlelist"><h1> <asp:HyperLink ID="hplTitle" runat="server"></asp:HyperLink></h1></div>

                    <div class="imgLageBeauty_width590_style">
                        <asp:Literal ID="ltrViewAndUpdateDate" runat="server"></asp:Literal>
                    </div>
                    <div class="imgLageBeauty_width590_style" id="divImg" runat="server" visible="false">
                        <asp:Image ID="imgFormula" runat="server" CssClass="imgLageBeauty_width590" />
                    </div>
        

                    <div class="imgLageBeauty_width590_style" id="divVideo" runat="server" visible="false">
                        <asp:Panel ID="pnlVideoUpload" Visible="false" Width="100%" runat="server">
                            <div id="divEmbededVideo" style="padding-left: 10px; padding-top: 10px;">
                                <!-- START OF THE PLAYER EMBEDDING TO COPY-PASTE -->
                                <!-- END OF THE PLAYER EMBEDDING -->
                            </div>
                            <script type="text/javascript">
                                jwplayer('divEmbededVideo').setup({
                                    flashplayer: "<%=PlayerUrl() %>",
                                    width: "590",
                                    height: "332",
                                    file: "<%= FileUrl() %>",
                                    image: "<%= ImageUrl() %>",
                                    repeat: 'none',
                                    autoplay: 'false',
                                    displayclick: 'none',
                                    skin: '<%=ResolveUrl("~/jwplayer/bluemetal/bluemetal.xml")%>'
                                });
                            </script>
                        </asp:Panel>
                        <asp:Panel ID="pnlYoutube" Visible="false" Width="100%" runat="server">
                            <div id="div3" style="padding-left: 10px; padding-top: 10px; text-align: center">
                                <asp:Literal ID="ltrShow" runat="server"></asp:Literal>
                            </div>
                        </asp:Panel>
                    </div>
                    <!--Chen image Or Video cho nay-->
                    <div class="TextContent">
                        <asp:Label ID="lblDescription"  runat="server" Text="lblDescription" />
                    </div>

                    

                    <div class="title_ration">
                        Khẩu phần:
                            <asp:Label ID="lblPortion" CssClass="TextContent" runat="server" Text="lblPortion" />
                        Chuẩn bị:
                            <asp:Label ID="lblTimepreparing" CssClass="TextContent" runat="server" Text="lblTimepreparing" />
                        Thực hiện:
                            <asp:Label ID="lblTimetocook" CssClass="TextContent" runat="server" Text="lblTimetocook" />
                        <%--<span class="iconDola">
                            <asp:Label ID="lblCost" CssClass="TextContent" runat="server" Text="lblCost" /></span>--%>
                    </div>

                    <div class="content_cuisine_details">
                    

                    <div class="tabber" id="myTab1">
                        <div class="tabbertab">
                            <h2>Nguyên liệu</h2>
                            <div class="content_view">
                                <asp:Label ID="lblMaterial" CssClass="TextContent" runat="server" Text="lblMaterial" />
                            </div>
                        </div>
                        <div class="tabbertab">
                            <h2>Hướng dẫn nhanh</h2>
                            <p class="content_view">
                                <asp:Label ID="lblFastconduct" CssClass="TextContent" runat="server" Text="lblFastconduct" /></p>
                        </div>
                 
                    <div class="tabbertab">
                        <h2>Thực hiện</h2>
                            <p class="content_view">
                                <asp:Label ID="lblWaytocook" CssClass="TextContent" runat="server" Text="lblWaytocook" /></p>
                        </div>   
                    </div>


                    <div style="margin: 7px 0px 7px 0px !important; float: left; width: 770px;">
                          <%-- Share  Start --%>
                        <div class="addthis_toolbox addthis_default_style " style="float:left">
                            <a href="http://www.addthis.com/bookmark.php?v=250&amp;pubid=ra-4ec08ae765473952"
                                class="addthis_button_compact">
                                <img name="ImageShare" src="<%= MainDomain %>FrontEnd/images/icon_share.png" width=20px" />
                            </a>
                        </div>
                        <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4ec08ae765473952"></script>
                        
                    </div>

     
        
            <!--- bai lien quan-->
			<div class="clear_both"></div>	
            <!--title-->
                <div class="titler_comment">
                    <ul>                                              
                        <li id="current"><a >BÀI KHÁC</a></li>                                                                
                    </ul>
            </div>

            <div class="content_scroll_category">

             <div id="liquid1" class="liquid">
                     <div class="wrapper"> 
                        <ul>
                            <asp:Repeater ID="rptContentByCat" runat="server">
                                <ItemTemplate>
                                    <li class="OthersItem">
                                        <p class="thumb_img_rel">  
                                        <asp:HyperLink ID="hplNews" runat="server">
                                            <asp:Image ID="imgNews" runat="server"  />
                                        </asp:HyperLink>
                                        </p>
                                        <p class="title_cuisine_rel">
                                        <asp:HyperLink ID="hplTitle"  runat="server"></asp:HyperLink>
                                        </p>

                                    </li>
                                </ItemTemplate>
                            </asp:Repeater>
                         </ul>
                    </div>
                </div>

                


                 <div class="paper" align="right">
                    <asp:LinkButton ID="lnkFirstOther" Text="Trước" runat="server" CausesValidation="false"
                        Enabled="false" CssClass="pre"></asp:LinkButton>
                    <span>
                    <asp:Repeater ID="rptPageOther" runat="server">
                        <ItemTemplate>
                            <asp:LinkButton ID="lnkTitleOther" CausesValidation="false" runat="server" OnClick="lnkTitleOther_Click"></asp:LinkButton>
                        </ItemTemplate>
                    </asp:Repeater>
                    </span>
                    <asp:LinkButton ID="lnkLastOther" runat="server" Text="Sau" Enabled="false" CausesValidation="false"
                        CssClass="next"></asp:LinkButton>
                </div>
                <asp:HiddenField ID="hidCountOther" Value="0" runat="server" />
                <asp:HiddenField ID="hidPageSize" Value="4" runat="server" />
                <asp:HiddenField ID="hidIndexOther_page" Value="0" runat="server" />
                <asp:HiddenField ID="hidCurOther_Page" Value="1" runat="server" />
                <asp:HiddenField ID="hidMenuId" Value="0" runat="server" />
                <!--Ket thuc phan trang bai viet khac-->
            </div>
        </div>



        <!--phan trang bai viet khac-->
        <asp:HiddenField ID="hidID" Value="0" runat="server" />
        
            
    </div> 
    <div class="bgbottom_cuisine_details">&nbsp;</div>
    </div>

    </ContentTemplate>
</asp:UpdatePanel>
<div style="display: none">
    <asp:HyperLink NavigateUrl="~/Page/Member/login.aspx?keepThis=true&TB_iframe=true&height=341&width=537&modal=true"
        ID="lnkLoginModal" CssClass="thickbox" runat="server"></asp:HyperLink>
</div>
